ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.Direct2D Namespace / SolidColorBrush Class / Create Method / Create(RenderTarget,ColorF,Nullable<BrushProperties>) Method
an instance of RenderTarget
The red, green, blue, and alpha values of the brush's color.
The base opacity of the brush.

In This Topic
    Create(RenderTarget,ColorF,Nullable<BrushProperties>) Method
    In This Topic
    Creates a new SolidColorBrush that has the specified color and opacity.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Create( _
       ByVal renderTarget As RenderTarget, _
       ByVal color As ColorF, _
       ByVal brushProperties As Nullable(Of BrushProperties) _
    ) As SolidColorBrush

    Parameters

    renderTarget
    an instance of RenderTarget
    color
    The red, green, blue, and alpha values of the brush's color.
    brushProperties
    The base opacity of the brush.
    See Also